package priv.yiyuan.example.design.wrapper;

/**
 * 战士
 * <p>
 * 装饰器模式-具体组件
 *
 * @author YiYuan
 * @data 2025/9/2
 * @apoNote
 */
public class Warrior implements GameCharacter {

    @Override
    public String getName() {
        return "战士";
    }

    @Override
    public int getAttack() {
        return 100;
    }

    @Override
    public int getDefense() {
        return 80;
    }

    @Override
    public String getDescription() {
        return "英勇的战士";
    }
}
